import Vue from "vue";

Vue.prototype.$isIos = () => {
  switch (uni.getSystemInfoSync().platform) {
    case "android":
      console.log("运行Android上");
      return "Android";
    case "ios":
      console.log("运行IOS上");
      return "IOS";
    default:
      console.log("运行在开发者工具上");
      return "开发者工具";
  }
};
